Optimal. Leaf size=101 \[ \frac {19}{96} \sqrt {2 x^2-x+3} x^2-\frac {409}{768} \sqrt {2 x^2-x+3} x-\frac {505 \sqrt {2 x^2-x+3}}{1024}+\frac {5}{8} \sqrt {2 x^2-x+3} x^3-\frac {6863 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{2048 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {1661, 640, 619, 215} \[ \frac {5}{8} \sqrt {2 x^2-x+3} x^3+\frac {19}{96} \sqrt {2 x^2-x+3} x^2-\frac {409}{768} \sqrt {2 x^2-x+3} x-\frac {505 \sqrt {2 x^2-x+3}}{1024}-\frac {6863 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{2048 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 619
Rule 640
Rule 1661
Rubi steps
\begin {align*} \int \frac {2+x+3 x^2-x^3+5 x^4}{\sqrt {3-x+2 x^2}} \, dx &=\frac {5}{8} x^3 \sqrt {3-x+2 x^2}+\frac {1}{8} \int \frac {16+8 x-21 x^2+\frac {19 x^3}{2}}{\sqrt {3-x+2 x^2}} \, dx\\ &=\frac {19}{96} x^2 \sqrt {3-x+2 x^2}+\frac {5}{8} x^3 \sqrt {3-x+2 x^2}+\frac {1}{48} \int \frac {96-9 x-\frac {409 x^2}{4}}{\sqrt {3-x+2 x^2}} \, dx\\ &=-\frac {409}{768} x \sqrt {3-x+2 x^2}+\frac {19}{96} x^2 \sqrt {3-x+2 x^2}+\frac {5}{8} x^3 \sqrt {3-x+2 x^2}+\frac {1}{192} \int \frac {\frac {2763}{4}-\frac {1515 x}{8}}{\sqrt {3-x+2 x^2}} \, dx\\ &=-\frac {505 \sqrt {3-x+2 x^2}}{1024}-\frac {409}{768} x \sqrt {3-x+2 x^2}+\frac {19}{96} x^2 \sqrt {3-x+2 x^2}+\frac {5}{8} x^3 \sqrt {3-x+2 x^2}+\frac {6863 \int \frac {1}{\sqrt {3-x+2 x^2}} \, dx}{2048}\\ &=-\frac {505 \sqrt {3-x+2 x^2}}{1024}-\frac {409}{768} x \sqrt {3-x+2 x^2}+\frac {19}{96} x^2 \sqrt {3-x+2 x^2}+\frac {5}{8} x^3 \sqrt {3-x+2 x^2}+\frac {6863 \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{23}}} \, dx,x,-1+4 x\right )}{2048 \sqrt {46}}\\ &=-\frac {505 \sqrt {3-x+2 x^2}}{1024}-\frac {409}{768} x \sqrt {3-x+2 x^2}+\frac {19}{96} x^2 \sqrt {3-x+2 x^2}+\frac {5}{8} x^3 \sqrt {3-x+2 x^2}-\frac {6863 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{2048 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 55, normalized size = 0.54 \[ \frac {4 \sqrt {2 x^2-x+3} \left (1920 x^3+608 x^2-1636 x-1515\right )-20589 \sqrt {2} \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{12288} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.78, size = 68, normalized size = 0.67 \[ \frac {1}{3072} \, {\left (1920 \, x^{3} + 608 \, x^{2} - 1636 \, x - 1515\right )} \sqrt {2 \, x^{2} - x + 3} + \frac {6863}{8192} \, \sqrt {2} \log \left (-4 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (4 \, x - 1\right )} - 32 \, x^{2} + 16 \, x - 25\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 63, normalized size = 0.62 \[ \frac {1}{3072} \, {\left (4 \, {\left (8 \, {\left (60 \, x + 19\right )} x - 409\right )} x - 1515\right )} \sqrt {2 \, x^{2} - x + 3} - \frac {6863}{4096} \, \sqrt {2} \log \left (-2 \, \sqrt {2} {\left (\sqrt {2} x - \sqrt {2 \, x^{2} - x + 3}\right )} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 79, normalized size = 0.78 \[ \frac {5 \sqrt {2 x^{2}-x +3}\, x^{3}}{8}+\frac {19 \sqrt {2 x^{2}-x +3}\, x^{2}}{96}-\frac {409 \sqrt {2 x^{2}-x +3}\, x}{768}+\frac {6863 \sqrt {2}\, \arcsinh \left (\frac {4 \sqrt {23}\, \left (x -\frac {1}{4}\right )}{23}\right )}{4096}-\frac {505 \sqrt {2 x^{2}-x +3}}{1024} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.96, size = 80, normalized size = 0.79 \[ \frac {5}{8} \, \sqrt {2 \, x^{2} - x + 3} x^{3} + \frac {19}{96} \, \sqrt {2 \, x^{2} - x + 3} x^{2} - \frac {409}{768} \, \sqrt {2 \, x^{2} - x + 3} x + \frac {6863}{4096} \, \sqrt {2} \operatorname {arsinh}\left (\frac {1}{23} \, \sqrt {23} {\left (4 \, x - 1\right )}\right ) - \frac {505}{1024} \, \sqrt {2 \, x^{2} - x + 3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {5\,x^4-x^3+3\,x^2+x+2}{\sqrt {2\,x^2-x+3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {5 x^{4} - x^{3} + 3 x^{2} + x + 2}{\sqrt {2 x^{2} - x + 3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________